import Vue from 'vue'
import Router from 'vue-router'
import Register from '@/components/register'
import Index from '@/components/index'
import Message from '@/components/message'



Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'index',
            component: Index
        },
        {
            path: '/register',
            name: 'register',
            component: Register
        },
        {
            path: '/message',
            name: 'message',
            component: Message
        }
    ]
})